"use strict";
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
    if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
    return c > 3 && r && Object.defineProperty(target, key, r), r;
};
Object.defineProperty(exports, "__esModule", { value: true });
const typeorm_1 = require("typeorm");
let ReceivementAccount = class ReceivementAccount {
};
__decorate([
    typeorm_1.Column({ primary: true, name: "id", type: "char", length: 36 })
], ReceivementAccount.prototype, "Id", void 0);
__decorate([
    typeorm_1.Column({ name: "name", type: "varchar", length: 50, nullable: true })
], ReceivementAccount.prototype, "Name", void 0);
__decorate([
    typeorm_1.Column({ name: "name", type: "varchar", length: 200, nullable: true })
], ReceivementAccount.prototype, "Remark", void 0);
ReceivementAccount = __decorate([
    typeorm_1.Entity("rec_receivement_account")
], ReceivementAccount);
exports.ReceivementAccount = ReceivementAccount;
let Account = class Account {
};
__decorate([
    typeorm_1.Column({ primary: true, name: "id", type: "char", length: 36 })
], Account.prototype, "Id", void 0);
__decorate([
    typeorm_1.Column({ name: "balance", type: "decimal", length: 10, precision: 4 })
], Account.prototype, "Balance", void 0);
Account = __decorate([
    typeorm_1.Entity("rec_member_account")
], Account);
exports.Account = Account;
let Receivement = class Receivement {
};
__decorate([
    typeorm_1.Column({ primary: true, name: "id", type: "char", length: 36 })
], Receivement.prototype, "Id", void 0);
__decorate([
    typeorm_1.Column({ name: "amount", type: "decimal", length: 10, precision: 4 })
], Receivement.prototype, "Amount", void 0);
__decorate([
    typeorm_1.Column({ name: "account_id", type: "char", length: 36 })
], Receivement.prototype, "AccountId", void 0);
Receivement = __decorate([
    typeorm_1.Entity("rec_receivement")
], Receivement);
exports.Receivement = Receivement;
